package com.yangt.service.impl;

import com.yangt.service.FourthService;
import org.apache.commons.lang.StringUtils;

/**
 * @author hongbin.yang
 * @date 2016-06-03 11:01
 */
public class FourthServiceImpl implements FourthService {

    @Override
    public String getTBinfo(String name) throws InterruptedException {
        if (StringUtils.equals(name, "timeout")) {
            Thread.sleep(10000L);
        }
        return "321";
    }
}
